package dfbz.demo05;

public class Test01 {
    public static void main(String[] args) {
        int i=1;
        int odd=0;
        int even=0;
        do {
            if (i % 2 == 0) {
                odd += i;
            } else {
                even += i;
            }
            i++;
        }while (i<=100);
        System.out.println(odd);
        System.out.println(even);
    }
}
